package com.cuit.food.food.Ydao;

import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;
import com.cuit.food.Food;

import java.util.List;

public interface foodRepository extends JpaRepositoryImplementation<Food, String> {
    List<Food> findByPriceGreaterThan(long price);
    List<Food> findByPriceLessThan(long price);
    List<Food> findByCatalog(String Catalog);
    List<Food> findByCatalogAndPriceLessThanEqual(String Catalog, long price);
}
